Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / DeleteCellsRangeCommand Class / Create Method / Create(IWorksheet,Nullable<DeleteShiftDirection>) Method
The source worksheet.
A value indicates how cells are shifted.


In This Topic
    Create(IWorksheet,Nullable<DeleteShiftDirection>) Method
    In This Topic
    Initializes a new instance of the DeleteCellsRangeCommand class.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Create( _
       ByVal sourceWorksheet As IWorksheet, _
       Optional ByVal shiftDirection As Nullable(Of DeleteShiftDirection) _
    ) As RangeActionsCommand
    'Usage
     
    
    Dim sourceWorksheet As IWorksheet
    Dim shiftDirection As Nullable(Of DeleteShiftDirection)
    Dim value As RangeActionsCommand
     
    value = DeleteCellsRangeCommand.Create(sourceWorksheet, shiftDirection)

    Parameters

    sourceWorksheet
    The source worksheet.
    shiftDirection
    A value indicates how cells are shifted.
    See Also